package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Setmeal;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface SetMealDao {
    public void add(Setmeal setmeal);

    public void addAssociationWithCheckGroup(HashMap map);

    public Page<Setmeal> findByCondition(String queryString);

    public Setmeal findById(Integer id);

    public List<Integer> findAssociationWithCheckGroupById(Integer setmealId);

    public void update(Setmeal setmeal);

    public void deleteAssociationWithCheckGroup(Integer id);

    public List<Setmeal> findAll();

    public Setmeal findContentById(Integer id);

    public ArrayList<Map<String, Object>> findOrderCount();
}
